<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'subjects-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note"><span class="required">*</span>为必填.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'subjects_title'); ?>
		<?php echo $form->textField($model,'subjects_title',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'subjects_title'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'subjects_memo'); ?>
		<?php echo $form->textArea($model,'subjects_memo',array('row'=>10,'cols'=>70)); ?>
		<?php echo $form->error($model,'subjects_memo'); ?>
	</div>

	<div class="row">
		<?php echo $form->hiddenField($model,'subjects_tests_id',array('value'=>$_GET['testId'])); ?>
		<?php echo $form->error($model,'subjects_tests_id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? '提交' : '保存'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->